package com.ruoyi.system.service;


import com.ruoyi.system.domain.Dynamic;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface DynamicService {

    int saveDynamic(Dynamic dynamic);

    void deleteDynamic(Dynamic dynamic,Long id);
    List<Dynamic> findByParentId( Long parentCommentId);
    List<Dynamic> listDynamicByDynamicId(Long dynamicId);

    List<Dynamic> getDynamicByUserId(Long userId);
}
